package com.cloud.salon.common.base.entity.authority.relation;

import com.cloud.salon.common.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Description 用户角色关联
 * @Author wolf--LZH
 * @CreateDate 2019/5/3 0003 下午 2:38
 */
@Data
@Entity
@Table(name="user_role")
public class UserRole extends BaseEntity {

    @Column(nullable = false)
    private Integer userId;

    @Column(nullable = false)
    private Integer roleId;
}
